home *** CD-ROM | disk | FTP | other *** search
- num = _root.score.text;
- if(num < 100)
- {
- with(_root.score.hundred)
- {
- gotoAndStop(1);
- }
- }
- setProperty(_root.score.bone, _Y, -56 - 0.48 * num);
- if(num >= 400)
- {
- stop();
- tellTarget(_root.action)
- {
- stop();
- }
- }
- if(num >= 100)
- {
- num1 = num / 100;
- if(0 < num1)
- {
- with(_root.score.hundred)
- {
- gotoAndStop(num1 + 1);
- }
- }
- else
- {
- with(_root.score.hundred)
- {
- gotoAndStop(1);
- }
- }
- num2 = num % 100 / 10;
- if(0 < num2)
- {
- with(_root.score.ten)
- {
- gotoAndStop(num2 + 1);
- }
- }
- else
- {
- with(_root.score.ten)
- {
- gotoAndStop(1);
- }
- }
- }
- else
- {
- num3 = num / 10;
- if(0 < num3)
- {
- with(_root.score.ten)
- {
- gotoAndStop(num3 + 1);
- }
- }
- else
- {
- tellTarget(_root.score.ten)
- {
- gotoAndStop(1);
- }
- }
- }
-